package com.ctshk.rpc.airexpress.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "AirportExpressUpdateSaleStatusReq对象", description = "机场快线Req")
public class AirportExpressUpdateSaleStatusReq implements Serializable {

    @ApiModelProperty("机场快线ID")
    private Long id;

    @Range(min = 0, max = 1, message = "售卖状态不能为空")
    @ApiModelProperty("售卖状态")
    private int saleStatus;
}
